<?php
echo (int)"18h30";
echo "<br />";
echo (int)"8g30";
echo "<br />";
echo (int)"8:30";
?>